<?php

ini_set('display_errors', 1);
error_reporting(-1);
require_once '/data/wwwroot/g_vendor/autoload.php';

$goods_id = $action = isset($argv[1]) ? $argv[1] : 0;

$goodsInfo = \Biz\model\GoodsBasicInfo::get('*', [ 'goods_id' => $goods_id ]);

echo $goods_id  . "\r\n";
var_dump($goodsInfo);
\Biz\cache\Goods::delItem($goods_id);
\Biz\cache\GoodsBasicInfo::delItem($goods_id);
$info = \Biz\service\search\Goods::updateByGoodsId($goods_id);
var_dump($info);




































